import 'package:gameplay_flutter/generated/json/base/json_field.dart';
import 'package:gameplay_flutter/generated/json/play_auth_entity.g.dart';
import 'dart:convert';
export 'package:gameplay_flutter/generated/json/play_auth_entity.g.dart';

@JsonSerializable()
class PlayAuthEntity {
	late String creationTime = '';
	late String status = '';
	late String specification = '';
	dynamic complexity;
	late String narrowBandType = '';
	late int height = 0;
	late String bitrate = '';
	late String modificationTime = '';
	dynamic watermarkId;
	late int encrypt = 0;
	late String definition = '';
	dynamic rand;
	dynamic encryptType;
	late String preprocessStatus = '';
	late String streamType = '';
	late String jobId = '';
	dynamic plaintext;
	late int size = 0;
	late int width = 0;
	late String fps = '';
	late String duration = '';
	late String playURL = '';
	late String format = '';
	dynamic bitDepth;
	dynamic hdrtype;

	PlayAuthEntity();

	factory PlayAuthEntity.fromJson(Map<String, dynamic> json) => $PlayAuthEntityFromJson(json);

	Map<String, dynamic> toJson() => $PlayAuthEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}